# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
_php=php7
pkgname=${_php}-pear-auth_sasl2
_realname=Auth_SASL2
pkgver=0.2.0
pkgrel=1
pkgdesc="Abstraction of various SASL mechanism responses"
url="http://pear.php.net/package/Auth_SASL2"
arch="noarch"
license="BSD-3-Clause"
depends="${_php}-pear"
options="!check" # No testsuite
source="$pkgname-$pkgver.tgz::http://download.pear.php.net/package/$_realname-$pkgver.tgz"
builddir="$srcdir"/$_realname-$pkgver

package() {
	_phpdir="usr/lib/$_php"
	install -d "$pkgdir"/$_phpdir/PEAR && \
		cp -R Auth "$pkgdir"/$_phpdir/PEAR
}

sha512sums="ea4bed18d241e9e43e3d3b1edc8aec713276a19ed6fa2b2adc44cfe74b51895b719e4fbbf83836b26abb8bfa7f0600891b2c4511ddcc3f6d815e986a61277402  php7-pear-auth_sasl2-0.2.0.tgz"
